<template>
    <div>
        <hd titles="我的评论"></hd>
        <van-row>
            <van-cell title="我的评论" :value="nan" style="text-align:left"/>
        </van-row>
        <ea v-for="item in pinjia" :onePinjia="item" :key="item.id"></ea>
        <van-divider>亲，我也是有底线的</van-divider>
    </div>
</template>

<script>
    import hd from '../components/public/hd';
    import ea from '../components/zj/evaluation/eva';
    export default {
        name:"myComments",
        data() {
            return {
                pinjia:[
                    {
                        id:1,
                        imgsrc:"https://img.yzcdn.cn/vant/cat.jpeg",
                        name:"afafg",
                        time:"2020-1-2",
                        dengji:1,
                        pinjiatext:"大弄刚弄晚安v弄恩公饿啊为非",
                        guige:"awgwg"
                    },
                    {
                        id:2,
                        imgsrc:"",
                        name:"afafg",
                        time:"2020-1-2",
                        dengji:4,
                        pinjiatext:"大弄刚弄晚安v弄恩公饿啊为非",
                        guige:"awgwg"
                    },
                    {
                        id:3,
                        imgsrc:"",
                        name:"afafg",
                        time:"2020-1-2",
                        dengji:2,
                        pinjiatext:"大弄刚弄晚安v弄恩公饿啊为非",
                        guige:"awgwg"
                    },
                    {
                        id:4,
                        imgsrc:"",
                        name:"afafg",
                        time:"2020-1-2",
                        dengji:3,
                        pinjiatext:"大弄刚弄晚安v弄恩公饿啊为非",
                        guige:"awgwg"
                    }
                ],
            }
        },
        components:{
            "hd" : hd,
            "ea" : ea
        },
        computed : {
            nan : function() {
                return `共${this.pinjia.length}条评价`
            }
        }
    }
</script>

<style>

</style>